package com.mikufufu.blog.model.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

@Data
public class LoginEmailParam {

    @Email(message = "请输入正确的邮箱地址")
    private String email;

    @NotBlank(message = "验证码不能为空")
    private String code;
}
